package com.hospital.warehouse.drugstock.service;

import java.text.ParseException;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hospital.util.DTO;
import com.hospital.warehouse.drugstock.entity.Drugstock;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author Mr. YR
 * @since 2020-04-21
 */
public interface DrugstockService extends IService<Drugstock> {

	DTO paging(Drugstock po, Integer page, Integer limit) throws ParseException;

	/**
	 * 通过药品id查询现有库存(已验收的入库单)，获得可用的批次
	 */
	DTO queryByDrugId(Integer id);

}
